|
Book details / order |
RUBY PROGRAMMING, 2ED: THE WELL-GROUNDED RUBYIST |
Ruby programming, the well-grounded rubyist, second edition is a beautifully written tutorial that begins with your first ruby program and goes on to explore sophisticated topics like callable objects, reflection and threading. the book concentrates on the language, preparing you to use ruby in any way you choose. this second edition includes coverage of new ruby features such as keyword arguments, lazy enumerators and module#prepend, along with updated information on new and changed core classes and methods.
contents : -
part 1 ruby foundations
chapter 1 bootstrapping your ruby literacy
·basic ruby language literacy
·anatomy of the ruby installation
·ruby extensions and programming libraries
·out-of-the-box ruby tools and applications
chapter 2 objects, methods and local variables
·talking to objects
·crafting an object: the behavior of a ticket
·the innate behaviors of an object
·a close look at method arguments
·local variables and variable assignment
chapter 3 organizing objects with classes
·classes and instances
·instance variables and object state
·setter methods
·attributes and the attr_* method family
·inheritance and the ruby class hierarchy
·classes as objects and message receivers
·constants up close
·nature vs. nurture in ruby objects
chapter 4 modules and program organization
·basics of module creation and use
·modules, classes and method lookup
·the method_missing method
·class/module design and naming
chapter 5 the default object (self), scope and visibility
·understanding self, the current / default object
·determining scope
·deploying method-access rules
·writing and using top-level methods
chapter 6 control-flow techniques
·conditional code execution
·repeating actions with loops
·iterators and code blocks
·error handling and exceptions
part 2 built-in classes and modules
chapter 7 built-in essentials
·ruby’s literal constructors
·recurrent syntactic sugar
·bang (!) methods and “danger”
·built-in and custom to_* (conversion) methods
·boolean states, boolean objects and nil
·comparing two objects
·inspecting object capabilities
chapter 8 strings, symbols and other scalar objects
·working with strings
·symbols and their uses
·numerical objects
·times and dates
chapter 9 collection and container objects
·arrays and hashes in comparison
·collection handling with arrays
·hashes
·ranges
·sets
chapter 10 collections central: enumerable and enumerator
·gaining enumerability through each
·enumerable boolean queries
·enumerable searching and selecting
·element-wise enumerable operations
·relatives of each
·the map method
·strings as quasi-enumerables
·sorting enumerables
·enumerators and the next dimension of enumerability
·enumerator semantics and uses
·enumerator method chaining
·lazy enumerators
chapter 11 regular expressions and regexp-based string operations
·what are regular expressions?
·writing regular expressions
·building a pattern in a regular expression
·matching, substring captures and matchdata
·fine-tuning regular expressions with quantifiers, anchors and modifiers
·converting strings and regular expressions to each other
·common methods that use regular expressions
chapter 12 file and i/o operations
·how ruby’s i/o system is put together
·basic file operations
·querying io and file objects
·directory manipulation with the dir class
·file tools from the standard library
part 3 ruby dynamics
chapter 13 object individuation
·where the singleton methods are: the singleton class
·modifying ruby’s core classes and modules
·basicobject as ancestor and class
chapter 14 callable and runnable objects
·basic anonymous functions: the proc class
·creating functions with lambda and ->
·methods as objects
·the eval family of methods
·parallel execution with threads
·issuing system commands from inside ruby programs
chapter 15 callbacks, hooks and runtime introspection
·callbacks and hooks
·interpreting object capability queries
·introspection of variables and constants
·tracing execution
·callbacks and method inspection in practice
summary
Author : David a. black
Publication : Dreamtech press
Isbn : 9789351198246
Store book number : 107
NRS 1040.00
|
|
|
|
|
|
|
|
|
|